﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using DCSLibrary;

public partial class Module_Contact_doi_tac_dctech_function : System.Web.UI.UserControl
{
    DataSet dsCustomer;
    ContactUI objContact = new ContactUI();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindCustomer();
        }
    }

    private void BindCustomer()
    {
        dsCustomer = objContact.GetAll();
        grdContact.DataSource = dsCustomer.Tables[0];
        grdContact.DataBind();
    }
}
